package com.kikcn.demo.domain;

import org.hibernate.validator.constraints.NotBlank;

import javax.persistence.*;
import java.io.Serializable;

/**
 * User: wlai
 * Date: 4/10/15
 * Time: 10:01 AM
 */
@Entity
@Table(name="t_bookmark")
public class Bookmark extends BookmarkBase  implements Serializable {
    @Column
    @NotBlank(message = "url can not be blank")
    private String url;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
